package com.rose.datax.dataxadmin.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Response implements Serializable {
    private static final long serialVersionUID = -4901614727405253217L;
    private String code;
    private List<?> items;
    private long total;
    public Response(){
        this.code = "0";
    }

    public Response(List<?> items, long total){
        this.items = items;
        this.total = total;
        this.code = "0";
    }

}
